Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

miraculix (version 0.9.23)

Instruction Set: CPU instruction set

Description

The function checks whether a certain instruction is available under the current compilation of the package.

Usage

has.instruction.set(which=c("SSE2", "SSSE3",  "AVX", "AVX2"))

Arguments

which

character vector.

Value

logical vector of length which. An element is TRUE if the instruction set is recognized by the package.

Examples

Run this code
# NOT RUN {
  has.instruction.set("AVX2")
# }

Run the code above in your browser using DataLab